#pragma once
#include "stdafx.h"
#include "Tools.h"
class CRemoteWeapon
{
public:
	CRemoteWeapon();
	~CRemoteWeapon();
	IplImage *m_Img[HARM_EFFECTIVE_IMAGE_COUNT];
	CRemoteWeapon(IplImage *img[REMOTE_WEAPON_TYPE_COUNT][REMOTE_WEAPON_IMAGE_COUNT], int type, int posx, int posy, int dir, int ap);
	CvPoint m_MovePos;
	CvPoint m_DrawPos;
	bool CheckisClear();
	void ImageChange();
	void DrawToBack(IplImage *Bg);
private:
	bool m_isClear;
	int m_StateId;
	int m_Dir;
	int m_AP;
public:
	void Move(IplImage * Bg);
};

